class Employee:
    def sayhello(self):
        print("Hello, I am an employee.")
        return True

class CEO(Employee):
    def __init__(self, name, age, salary):
        self.name = name
        self.age = age
        self.salary = salary
        
    def sayhello(self):
        # 调用父类的sayhello方法
        super().sayhello()
        print("Hello, I am a CEO.")
        return True
        
    def saygoodbye(self):
        print("Goodbye, I am a CEO.")
        return True

if __name__ == "__main__":
    ceo=CEO("John", 50, 1000000)
    ceo.sayhello()
    